package com.sasis.model;

public class BasePrincipal extends BaseEntity implements Principal {
	
	private static final long serialVersionUID = 1L;

	private Principal parent;
	
	private String name;
	
	private boolean role;
	
	public BasePrincipal() {
		
	}
	
	public BasePrincipal(Long id, boolean role) {
		super.id = id;
		this.role = role;
	}

	public Principal getParent() {
		return parent;
	}
	
	public void setParent(Principal parent) {
		this.parent = parent;
	}

	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}

	public boolean isRole() {
		return role;
	}

	public void setRole(boolean role) {
		this.role = role;
	}
	
}
